<?php
defined('IN_TS') or die('Access Denied.');


$start = isset($_GET['start']) ? $_GET['start'] : '';
$end = isset($_GET['end']) ? $_GET['end'] : '';
$libraryid = isset($_GET['libraryid']) ? $_GET['libraryid'] : '';

$data = aac('yidi')->rankingList($libraryid, $start, $end);
json_response(1, 'success', $data);